
                                using System;
                                using System.Collections.Generic;
                                using System.Linq;
                                using System.Text;

                                namespace DomainModel.Abstract
                                {
                                   public interface IRepository<T> where T:class
                                    {
                                       void Insert(T entity);
                                       void Update(T entity);
                                       void Delete(T entity);
                                       T GetById(int Id);
                                       IEnumerable<T> GetAll();
                                    }
                                }
                        